From: Bastien Nocera Date: Fri, 14 Jan 2022 11:27:57 +0000 (+0100) Subject: powerProfiles: Remove support for power-profiles-daemon < 0.9.0 X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~530^2^2~102 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b83b22bc58ef7f9c90f83352b890914d0bff85fd;p=gnome-shell.git powerProfiles: Remove support for power-profiles-daemon < 0.9.0 Part-of: --- diff --git a/js/ui/status/powerProfiles.js b/js/ui/status/powerProfiles.js index 61205bbc6..cc870fccf 100644 --- a/js/ui/status/powerProfiles.js +++ b/js/ui/status/powerProfiles.js @@ -101,10 +101,6 @@ class Indicator extends PanelMenu.SystemIndicator { : PopupMenu.Ornament.NONE); } - const perfItem = this._profileItems.get('performance'); - if (perfItem) - perfItem.sensitive = this._proxy.PerformanceInhibited === ''; - this._item.label.text = PROFILE_LABELS[this._proxy.ActiveProfile]; this._item.icon.icon_name = PROFILE_ICONS[this._proxy.ActiveProfile]; }